package day4.car;

/**
 * @author oldliu
 * @since 1.0
 */
public class DriverTest {
    public static void main(String[] args) {
        Driver d=new Driver("老黄");
        Car c=new Car("劳斯莱斯","皖A88888");
        d.drive(c);
        Truck t=new Truck("皖B挂038383",20);
        d.drive(t);
        Bus b=new Bus("146","龙岗保养厂","公交三公司");
        d.drive(b);
    }
}
